package middleware

import (
	"github.com/kataras/iris/middleware/basicauth"
	"time"
)

var BasicAuth = basicauth.New(basicauth.Config{
	Users: map[string]string{
		"admin": "password",
	},
	Expires:time.Second*30,
})
